package com.dong.vdbtc.javabeanvalidation;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * description
 *
 * @author Administrator 2021/09/08 16:31
 */
public class User {

    @NotNull
    @Max(60)
    private String name;
    @Min(0)
    private Integer age;
}
